package com.gao.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Projectname springboot-02-config
 * @Filename Dong
 * @Author an
 * @Data 2022/8/7 17:34
 * @Description TODO
 */
@Component
@Data
public class Dog {

    @Value("旺财")
    private String name;
    @Value("3")
    private Integer age;
}
